<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/6
  Time: 15:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加作业</title>
</head>
<%@include file="student_common.jsp" %>
<script>
    $(function () {
        $("#history_work_li").attr('class', 'active');
    });
</script>
<style>
    input[type=reset], input[type=submit] {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        background-color: #2e6da4;
        color: white;
        border: none;
    }

</style>

<%

    if (request.getParameter("submitWorkId") != null) {
        session.setAttribute("submitWorkId", request.getParameter("submitWorkId"));
    }
%>

<body>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="banner">
        <div class="jumbotron banner-text">
            <h3>完成作业</h3>
            <form action="${pageContext.request.contextPath}/stu_submit_work" method="post" enctype="multipart/form-data">
                <br>
                作业文件：<input type="file" name="file" style="margin-left: 100px">
                <br>
                <input type="submit" value="保存">
                <input type="reset" value="取消">
            </form>

        </div>
    </div>
</div>
</body>
</html>

